'use strict';

const Controller = require('../core/base_controller');

class HouseController extends Controller {
    async getList() {
        await this.house('getList')
    }
    // 修改状态
    async houseChange() {
        await this.house('houseChange')
    }
    // 删除房源
    async delHouse() {
        await this.house('delHouse')
    }
    // 添加房源
    async addHouse() {
        await this.house('addHouse')
    }
    // 编辑房源
    async editHouse() {
        await this.house('editHouse')
    }
}

module.exports = HouseController;